package extendType;

/**
 * Adaptee（被适配）
 */
public class Banner {

    String string;

    public Banner(String string){
        this.string = string;
    }

    void showWithParen(){
        System.out.println("(" + string + ")");
    }

    void showWithAster(){
        System.out.println("*" + string + "*");
    }
}
